package base.module.intrface;

import base.CGraphics;


public class CSetScrollBars extends CSetFrame {
	@Override
	public void Init() {
		AssertParam( 6 );
	}
	
	
	
	@Override
    public void Execute() {
		CGraphics.SliderField = CGraphics.SetFrame( Param[ 0 ].ToString(), 0, Param[ 1 ].ToInt(), 0, Param[ 2 ].ToInt() );
		CGraphics.SliderBody = CGraphics.SetFrame( Param[ 3 ].ToString(), 0, Param[ 4 ].ToInt(), 0, Param[ 5 ].ToInt() );
		CGraphics.SliderWidth = CGraphics.LoadImage( Param[ 0 ].ToString() ).getWidth();
	}
}